
public class keyboard {
	double weight;
	String owner;
	computer attachedTo;
	keyboard(computer a, double w, String o)
	{
		attachedTo = a;
		weight = w;
		owner = o;
	}
	void turnOn()
	{
		attachedTo.on = true;
	}
	void turnOff()
	{
		attachedTo.on = false;
	}
}
